package org.erp.procurement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.erp.common.page.PageQueryModel;
import org.erp.procurement.entity.MiniOrder;
import org.erp.procurement.entity.bo.MiniOrderAddBo;
import org.erp.procurement.entity.bo.MiniOrderConfirmBo;
import org.erp.procurement.entity.bo.OrderUpdateBo;
import org.erp.procurement.entity.dto.MiniOrderQueryDto;
import org.erp.procurement.entity.vo.MiniOrderVo;

/**
 * 线上小程序订单服务层
 *
 * @author libin
 * @version 1.0
 * @description: 线上小程序订单服务层
 * @date 2025/11/5 11:04
 **/
public interface MiniOrderService extends IService<MiniOrder> {
    PageQueryModel<MiniOrderVo> miniPageList(MiniOrderQueryDto miniOrderQueryDto);

    void miniSave(MiniOrderAddBo miniOrderAddBo);

    void miniConfirmReceipt(MiniOrderConfirmBo MiniOrderConfirmBo);

    void miniQuote(String orderNo);

    void updatePurchaseQuantity(OrderUpdateBo orderUpdateBo);

    void miniCancel(String orderNo);

    void miniConfirm(String orderNo);
}
